<?php

require_once('../library/Quad/Bootstrap.php');

$begin = microtime(true);
$app = new Quad_Bootstrap('rewrite');

//Quad_Debug::dump(Quad_Date::create('2009-12-31')->raw);
echo Quad_Date::create()->format('n/j/Y g:ia');
echo "<br />";
echo Quad_Date::create()->modify('+3 days')->format('n/j/Y g:ia');
echo "<br />";
echo Quad_Date::create()->modify('+3 days')->getDaysInMonth();
echo "<br />";
Quad_Debug::dump(Quad_Date::create('2009-12-13')->diff('2009-12-14'));
echo "<br />";
echo 'in*() ' . Quad_Date::create('2009-12-13')->diff('2009-12-14')->inYears();
echo "<br />";
echo Quad_Date::create('2009-12-13') . ' ** ' . Quad_Date::create('2009-12-14');
//echo Quad_Date::create('2009-12-13')->diff('2009-12-14')->inDays(true);
